package com.finley.flowabledemo.design.state.demo02.source;


import java.util.List;

/**
 * @description:
 * @author: xianfei.chao
 * @date 2025/6/24 13:36
 * @version: 1.0
 */
public class Order {

    private Long id;

    private String status;

    private String customerEmail;

    private List<OrderItem> paymentDetails;

    private List<OrderItem> items;

    private double totalAmount;

    public List<OrderItem> getItems() {
        return items;
    }

    public void setItems(List<OrderItem> items) {
        this.items = items;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCustomerEmail() {
        return customerEmail;
    }

    public void setCustomerEmail(String customerEmail) {
        this.customerEmail = customerEmail;
    }

    public List<OrderItem> getPaymentDetails() {
        return paymentDetails;
    }

    public void setPaymentDetails(List<OrderItem> paymentDetails) {
        this.paymentDetails = paymentDetails;
    }

    public double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(double totalAmount) {
        this.totalAmount = totalAmount;
    }
}
